package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;


import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.task.CommentVo;

import java.util.List;

/**
 * @Description: 添加历史审批记录
 * @Author: zhangnn
 * @description: 审批意见service
 * @date 202/11/26
 */
public interface IFlowableCommentService {

    /**
     * 添加备注
     * @param comment 参数
     */
    public void addComment(CommentVo comment) ;

    /**
     * 通过流程实例id获取审批意见列表
     * @param processInstanceId 流程实例id
     * @return
     */
    public List<CommentVo> getFlowCommentVosByProcessInstanceId(String processInstanceId) ;

    /**
     * 消息发送
     */
    public  void sendMessage(String taskId, String userCode, String processInstanceId, String turnToUserCode,String messageType,String title,String content);

}
